package cn.itsource.org.myenum;

import lombok.Data;

//1待审核，2审核通过待激活，3激活成功，4驳回
public enum ShopState {
    ONE(1,"待审核"),
    TWO(2,"审核通过待激活"),
    THREE(3,"激活成功"),
    FOUR(4,"驳回");

    private String value;
    private Integer code;

    ShopState(Integer code,String value) {
        this.code = code;
        this.value = value;
    }

    public String getValue() {
        return value;
    }

    public Integer getCode() {
        return code;
    }
}
